# Define here the models for your scraped items
#
# See documentation in:
# https://docs.scrapy.org/en/latest/topics/items.html

import scrapy


class SinanewsItem(scrapy.Item):
    # define the fields for your item here like:
    # name = scrapy.Field()
    # category：类别   subcategory：子类  article：文章
    # 大类标题
    category_title = scrapy.Field()
    # 大类链接
    category_url = scrapy.Field()
    # 小类标题
    subcategory_title = scrapy.Field()
    # 小类链接
    subcategory_url = scrapy.Field()
    # 文章路径 大类/小类/文件名那个
    article_path = scrapy.Field()
    # 文章标题
    article_title = scrapy.Field()
    # 文章链接
    article_url = scrapy.Field()
    # 文章链正文
    article_content = scrapy.Field()
